package com.situ.project1.service;

import com.situ.project1.pojo.Customer;
import com.situ.project1.util.PaginateInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author:yzy
 * @date:2024/8/10
 */
@Service
public interface CustomerService {
    List<Customer> getAll(PaginateInfo pi, Customer customer);

    boolean add(Customer customer);

    boolean update(Customer customer);

    boolean delete(Integer[] ids);

    Customer getUserCustomer(String username);
}
